package com.xiangban.volunteer_platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author Mr. Ma
 * @Data 2021/1/20 11:46
 */
@Data
@ApiModel("商家用户")
@TableName("business")
public class BusinessUser {
        @ApiModelProperty(value = "id")
        @TableId(type = IdType.AUTO)
        private Integer id;

        @ApiModelProperty(value = "名称")
        private String name;

        @ApiModelProperty(value = "经度")
        private BigDecimal longitude;

        @ApiModelProperty(value = "纬度")
        private BigDecimal latitude;

        @ApiModelProperty(value = "图片")
        private String img;

        @ApiModelProperty(value = "地址")
        private String address;

        @ApiModelProperty(value = "简短介绍")
        private String remake;


}
